package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 分组信息对象 sp_zu
 * 
 * @author ruoyi
 * @date 2022-11-11
 */
public class SpZu extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 分组Id */
    private Long zuId;

    /** 分组名称 */
    @Excel(name = "分组名称")
    private String zuName;

    /** 所属项目 */
    @Excel(name = "所属项目")
    private Long xmId;

    /** 是否子节点 */
    @Excel(name = "是否子节点")
    private Integer isLast;

    /** 比赛场地 */
    @Excel(name = "比赛场地")
    private String address;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 组路径 */
    private String zupath;

    /** 组路径名 */
    private String zupathName;



    private Long dbId;
    private Integer bptype;

    public Long getDbId() {
        return dbId;
    }

    public void setDbId(Long dbId) {
        this.dbId = dbId;
    }

    public Integer getBptype() {
        return bptype;
    }

    public void setBptype(Integer bptype) {
        this.bptype = bptype;
    }

    public void setZuId(Long zuId)
    {
        this.zuId = zuId;
    }

    public Long getZuId() 
    {
        return zuId;
    }
    public void setZuName(String zuName) 
    {
        this.zuName = zuName;
    }

    public String getZuName() 
    {
        return zuName;
    }
    public void setXmId(Long xmId) 
    {
        this.xmId = xmId;
    }

    public Long getXmId() 
    {
        return xmId;
    }
    public void setIsLast(Integer isLast) 
    {
        this.isLast = isLast;
    }

    public Integer getIsLast() 
    {
        return isLast;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setZupath(String zupath) 
    {
        this.zupath = zupath;
    }

    public String getZupath() 
    {
        return zupath;
    }
    public void setZupathName(String zupathName) 
    {
        this.zupathName = zupathName;
    }

    public String getZupathName() 
    {
        return zupathName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zuId", getZuId())
            .append("zuName", getZuName())
            .append("parentId", getParentId())
            .append("xmId", getXmId())
            .append("orderNum", getOrderNum())
            .append("isLast", getIsLast())
            .append("address", getAddress())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("zupath", getZupath())
            .append("zupathName", getZupathName())
            .toString();
    }
}
